<?php
/**
 * Created by PhpStorm.
 * User: geyouwen
 * Date: 16/9/10
 * Time: 下午4:21
 */

namespace Home\Model;


use Think\Model;

class MemberRelationModel extends Model
{


    public function checkUnique($mobile)
    {
        $mobile = is_array($mobile) ? $mobile : array($mobile);
        $where  = array('tel' => array('in',$mobile));
        $data   = $this->where($where)->select();
        return $data;
    }
}